package com.hz.service.impl;

import com.hz.dao.UserRechargeDao;
import com.hz.pojo.UserRecharge;
import com.hz.service.UserRechargeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserRechargeServiceImpl implements UserRechargeService {
    @Resource
    UserRechargeDao userRechargeDao;

    @Override
    public List<UserRecharge> getAllUserRecharge(Integer pages, Integer pageSize,String name) throws Exception {
        return userRechargeDao.getAllUserRecharge(pages,pageSize,name);
    }
}
